package org.jeecg.modules.xmss.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 选民意见建议表
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@ApiModel(value="xmss_ideaPage对象", description="选民意见建议表")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XmssIdeadDr implements Serializable {


	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private String id;
	/**姓名*/
	@Excel(name = "选民姓名", width = 15)
	@ApiModelProperty(value = "选民姓名")
	private String name;

	/**姓名*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
	private String mobile;


	/**姓名*/
	@Excel(name = "您的建议和意见", width = 15)
	@ApiModelProperty(value = "您的建议和意见")
	private String idea;

	/**姓名*/
	@Excel(name = "上传图片", width = 15)
	@ApiModelProperty(value = "上传图片")
	private String url;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")//提交时间
	@Excel(name = "提交时间", width = 15)
	private Date createTime;
	/**意见类型*/
	@ApiModelProperty(value = "意见类型")
	private java.lang.Integer ideaType;
	/**经度（纵坐标）*/
	@ApiModelProperty(value = "经度（纵坐标）")
	private java.lang.String longitude;
	/**纬度（横坐标）*/
	@ApiModelProperty(value = "纬度（横坐标）")
	private java.lang.String latitude;
	/**事件发生的地址*/
	@ApiModelProperty(value = "事件发生的地址")
	private java.lang.String address;
}



